{temp('html/recruit/pc/head')}
   	<script type="text/javascript" src="../liaot/static/jquery.js"  media="all"></script>
	<script type="text/javascript" src="../liaot/static/jquery.websocket.js"  media="all"></script>
	<script type="text/javascript">
		WS_STATIC_URL = '{$_url}/websocket/static';
		WS_HOST = '120.27.199.74';
		WS_PORT = 7272;
	</script>
    <script>
    window.document.onkeydown=function(){
		var ev = (document.all ? window.event : arguments[0]);
		if (ev.keyCode == 13) {
			denglu();
		}
	}
    function udl(){
    	var name = $("#name").val();
    	var pass = $("#pass").val();
    	if($("#remember").attr("checked") == 'checked'){
    		var remember = 1;
    	}else{
    		var remember = 0;
    	}
    	$.post('{$_url}/?act=ruser&met=denglu',{name:name,pass:pass,remember:remember},function(data){
    		if(data == '登录成功'){
    			var DEFAULT_VERSION = "8.0";
    			var ua = navigator.userAgent.toLowerCase();
    			var isIE = ua.indexOf("msie")>-1;
    			var safariVersion;
    			if(isIE){
    			    safariVersion =  ua.match(/msie ([\d.]+)/)[1];
    			}
    			if(safariVersion <= DEFAULT_VERSION ){
    			    // 进行你所要的操作
    				location.href='{$_url}/?act=ruser&met=logincg';
    			}else{
    				 $.wssend('{"type":"login","name":"'+name+'","pass":"'+pass+'","bd":"3"}');
    			 }
    		}else{
    			alert(data);
    		}
    	});
    }
    function toLogin(){//qq登录
		window.open('{$_url}/?act=ruser&met=qq_login');
	}
	</script>
</head>
<body>
	<!--容器-->
	<div class="wraper">
		<!--头部-->
		<div class="w_bai h_100 bc_137ABF dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--logo-->
				<div class="f_l t_m15"><a href="{$_url}"><img src="{$style}/images/head_logo.png"></a></div>
				<!--logo结束-->
				<!--提示字-->
				<div class="f_l l_m10 t_m30"><img src="{$style}/images/head_zi.png"></div>
				<!--提示字结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--头部结束-->

		<!--主体内容-->
		<div class="w_bai dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0 t_m25">
				<!--登录信息-->
				<div class="w_bai bc_FFF t_m60 b_m50 bor_C6 dis_inline t_l">
					<!--登录框及提示注册字-->
					<div class="f_l dis_inline ">
						<!--登录框-->
						<div class="w_390 h_395 l_m70 bc_BFDBE3 bor_FFF xddw" style="margin-top:-45px">
							<!--左侧图片-->
							<div class="f_l xddw" style="margin-left:-32px;margin-top:-2px">
								<img src="{$style}/images/yinying_zuo.png">
							</div>
							<!--左侧图片结束-->
							<!--右侧图片-->
							<div class="f_r xddw" style="margin-right:-32px;margin-top:-2px">
								<img src="{$style}/images/yinying_you.png">
							</div>
							<!--右侧图片结束-->
							<!--标题-->
							<div class="w_bai t_c t_m15 dis_inline">
								<span class="c_1379BF f_s22">欢迎个人登录</span>
							</div>
							<!--标题结束-->
							<!--登录名-->
							<div class="t_m40 dis_inline">
								<div class="f_l t_m8 l_m8">
									<span class="c_656565">登录名</span>
								</div>
								<div class="f_l l_m5">
									<input type="text" id="name" value="{if(@$_COOKIE['recruit_name'])}{$_COOKIE['recruit_name']}{/if}" class="inp" placeholder="手机号/邮箱" />
								</div>
							</div>
							<!--登录名结束-->
							<!--密码-->
							<div class="t_m10 dis_inline">
								<div class="f_l t_m8 l_m22" style="_margin-left:15px">
									<span class="c_656565">密码</span>
								</div>
								<div class="f_l l_m5">
									<input type="password" id="pass" value="{if(@$_COOKIE['recruit_pass'])}{$_COOKIE['recruit_pass']}{/if}" class="inp" placeholder="输入密码" />
								</div>
							</div>
							<!--密码结束-->
							<!--自动登录及忘记密码-->
							<div class="t_m15 l_m37">
								<div class="f_l dis_inline">
									<div class=" f_l l_m20" style="margin-top:4px!important;margin-top:1px;_margin-left:14px">
										<input type="checkbox" id="remember" checked="checked" />
									</div>
									<div class="c_878787 f_l l_m5 ">记住密码</div>
								</div>
								<div class="dis_inline f_r r_m40 point" id="forget">
									<a href="{$_url}/?act=ruser&met=zhmmyx">忘记密码?</a>
								</div>
							</div>
							<!--已自动登录及忘记密码解锁-->
							<!--登录按钮-->
							<div class="w_bai t_m15 dis_inline">
								<div class="w_300 h_35 l_m58 l_h35 bc_E16400 c_FFF t_c point" style="_margin-left:68px" onClick="udl()">
									立即登录
								</div>
							</div>
							<!--登录按钮结束-->
							<!--使用其他账号登录-->
							<div class="t_m40 l_m58 point" style="_margin-left:68px" onClick="toLogin()">
								<div class="f_l c_666">使用QQ账号登录</div>
								<div class="f_l t_m2 l_m10">
									<img src="{$style}/images/qq.png">
								</div>
							</div>
							<!--使用其他账号登录结束-->
						</div>
						<!--登录框结束-->
						<!--提示注册-->
						<div class="dis_inline l_m70 t_m10 f_s20 t_c" >
							<span class="c_1379BF l_m65">还没有思凯账号，</span>
							<span id="zhuce2"><a href="{$_url}/?act=ruser&met=zcyx">免费注册> ></a></span>
						</div>
						<!--提示注册结束-->
					</div>
					<!--图片及提示字-->
					<div class="f_r r_m20 dis_inline b_m20 c_656565">
						<div><img src="{$style}/images/login.png"></div>
						<div class="dis_inline">
							<div class="tishi f_l"></div>
							<span class="f_l l_m10">温馨提示：</span>
						</div>
						<p class="t_m5">用人单位招聘人才，以任何名义向应聘者收取费用都是不被法律允许的，请</p>
						<p class="t_m5">应聘者提高警惕！</p>
						<p class="t_m5">求职者要时刻睁大眼睛，谨防招聘骗局！</p>
					</div>
					<!--图片及提示字结束-->
				</div>
				<!--登录信息结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->
{temp('html/recruit/pc/foot')}